﻿@{
    ViewBag.Title = "Overview";
    Layout = "Layout.cshtml";
}

<h1  class="center">Overview</h1>
<br /><br /><br />
<table>
    <tr><td>Number of active projects</td><td>@ViewBag.NoOfProjects</td> </tr>
    <tr><td>Number of active configurations</td><td>@ViewBag.NoOfConfigurations</td> </tr>
    <tr><td>Number of builds</td><td>@ViewBag.NoOfBuilds</td> </tr>
    <tr><td>Number of failed builds</td><td>@ViewBag.NoOfFailingBuilds</td> </tr>
    <tr><td>Number of error builds</td><td>@ViewBag.NoOfErrorBuilds</td> </tr>
    <tr><td>Number of successfull builds</td><td>@ViewBag.NoOfSuccessfullBuilds</td> </tr>
    <tr><td>Number of unknown builds</td><td>@ViewBag.NoOfUnknownBuilds</td> </tr>
    <tr><td>Number of active users</td><td>@ViewBag.NoOfUsers</td> </tr>
</table>
<br />
<h2  class="center">Builds last @ViewBag.NoOfDaysBack days</h2>
<table>
    <tr><td>Number of builds</td><td>@ViewBag.NoOfBuildsSince</td> </tr>
    <tr><td>Number of failed builds</td><td>@ViewBag.NoOfFailingBuildsSince</td> </tr>
    <tr><td>Number of error builds</td><td>@ViewBag.NoOfErrorBuildsSince</td> </tr>
    <tr><td>Number of successfull builds</td><td>@ViewBag.NoOfSuccessfullBuildsSince</td> </tr>
    <tr><td>Number of unknown builds</td><td>@ViewBag.NoOfUnknownBuildsSince</td> </tr>
</table>